<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <head th:include="/common/global :: global('产品','css','admin/product/getProduct')">

</head>
<body>
<article class="page-container">
    <form action="" class="form form-horizontal" id="form-member-add">
        <input id="tid" name="tid" th:value="${product?.tid}" type="hidden">
        <input id="productId" name="productId" th:value="${product?.productId}" type="hidden">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>产品类型：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <span class="select-box">
                    <select class="select" name="productType">
                            <option   th:each="item:${productType}" th:value="${item.tid}" th:text="${item.productTypeName}"  th:selected="${item.tid == product?.productType}"></option>
                    </select>
				</span>
            </div>
        </div>



        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>产品名称：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" th:value="${product?.productName}" placeholder="产品名称" id="productName" name="productName">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">产品介绍：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" th:value="${product?.productIntroduction}" placeholder="产品介绍" id="productIntroduction" name="productIntroduction">

            </div>
        </div>

        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" id="advertSubmit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</article>
</body>
</html>